import { defineStore } from 'pinia';


interface ContextStateModel {
  userInfo: boolean;
}

export const useContextStore = defineStore('context', {
  state: (): ContextStateModel => {
    return {
      userInfo: false
    }
  },
  actions: {
    setUserInfo(userInfo: boolean) {
      this.userInfo = userInfo;
    },
  }
});
